<template>
  <div class="app-main">
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>
    <slot name="inner-footer"></slot>
  </div>
</template>

<script>
export default {
  name: 'c-app-main'
}
</script>

<style lang="scss" scoped>
@import '../assets/css/variables.scss';
.app-main {
  position: relative;
  background-color: $main_bg;
  min-height: calc(100vh - 140px);
}
</style>
